Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
@anexia/eslint-config-aqua
Advanced tools
ESLint shareable config
npm i -D @anexia/eslint-config-aqua
Add the ESLint config to your package.json
:
{
"name": "my-project",
...
"eslintConfig": {
"extends": "@anexia/eslint-config-aqua"
}
}
Or eslintrc.json
:
{
"extends": "@anexia/eslint-config-aqua"
}
If you are developing with Javascript in the browser consider adding:
{
"extends": "@anexia/eslint-config-aqua"
"env": {
"browser": true
}
}
or use the platform specific configs for Node.js:
{
"extends": "@anexia/eslint-config-aqua/node"
}
or Svelte:
{
"extends": "@anexia/eslint-config-aqua/svelte"
}
or React:
{
"extends": "@anexia/eslint-config-aqua/react"
}
or any other JSX:
{
"extends": "@anexia/eslint-config-aqua/jsx"
}
or Vue.js:
{
"extends": "@anexia/eslint-config-aqua/vue"
}
Using the Vue extended config will require you to additionally install eslint-plugin-vue
and babel-eslint
npm i -D babel-eslint eslint-plugin-vue
If you want to apply your own .prettierrc
rules with support for disabling the correct rules, just add /prettier
before the target name.
Also make sure you install prettier
, eslint-plugin-prettier
and eslint-config-prettier
for this to work.
npm i -D prettier eslint-plugin-prettier eslint-config-prettier
{
"extends": "@anexia/eslint-config-aqua/prettier"
}
{
"extends": "@anexia/eslint-config-aqua/prettier/node"
}
or Svelte:
{
"extends": "@anexia/eslint-config-aqua/prettier/svelte"
}
or React:
{
"extends": "@anexia/eslint-config-aqua/prettier/react"
}
or any other JSX:
{
"extends": "@anexia/eslint-config-aqua/prettier/jsx"
}
or Vue.js:
{
"extends": "@anexia/eslint-config-aqua/prettier/vue"
}
FAQs
ESLint shareable config
We found that @anexia/eslint-config-aqua demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.